
@font-face {
  font-family: 'fangzheng';
  src: url("../font/font.TTF");
  font-weight: bold;
  font-style: normal;
}

@keyframes title {
  0%{
    transform: scale(0.2);
    opacity: 0;
  }
  90%{
    transform: scale(1.1);
    opacity: 1;
  }

  100%{
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes checkBox {
  0%{
    transform: translateY(100%);
    opacity: 0;
  }

  100%{
    transform: translateY(0%);
    opacity: 1;
  }
}


.hide{
  opacity: 0;
  img{
    display: none !important;
  }
}

.hidden{
  display: none;
}

body,html{
  width: 100%;
  height: 100%;
  overflow: hidden;
  font:bold 0.46rem  fangzheng;
  color: #ffffff;

  .bodyBox{
    width: 100%;
    height: 100%;
    background: url("../imgs/bg.png") no-repeat center center;
    background-size: 100% 100%;
    .box{
      .radio{
        display: block;
        width: 0.3rem;
        height: 0.3rem;
        margin: 0.2rem auto;
      }

      .title{
        text-align: center;
        margin-bottom: 0.5rem;

      }



      .sexBox{
        label{
          display: block;
          text-align: center;
          margin: 0;font-size: 0.6rem;
        }
        .sexImg{
          height: 3rem;
          display: flex;
          align-items: end;

        }
        .inputStyle{
          display: block;
          width: 0.3rem;
          height: 0.3rem;
          background: #ffffff;
          border-radius: 100%;
          overflow: hidden;
          margin: 0.2rem auto;
          border: 0.05rem solid #ffffff;
          input{
            opacity: 0;
          }

          &.act{
            background: #a02f31;
          }
        }
      }
      .checkBox{

        label{
          display: block;
          width: 6rem;
          height: 0.8rem;
          margin: 0.1rem auto;
          background: #ffffff;
          border-radius:5px ;
          line-height: 0.8rem;
          text-align: center;
          position: relative;
          color: #a02f31;

          .inputStyle{
            position: absolute;
            right: 0.2rem;
            top: 50%;
            transform: translateY(-50%);
            width: 0.3rem;
            height: 0.3rem;
            background: #fff;
            border-radius: 1rem;
            overflow: hidden;
            &.act{
              background: #a02f31;
            }
          }
          .radio{
            opacity: 0;
          }
        }

      }
      .name{
        width: 6rem;
        margin: 0 auto 0.2rem;

        input{
          display: block;
          background: #ffffff;
          width: 6rem;
          margin: 0.2rem auto;
          border: 1px solid #cccccc;
          border-radius:0.05rem;
          overflow: hidden;
          font-size: 0.46rem;
          height: 0.8rem;
          line-height: 0.8rem;
          padding: 0 0.1rem;
        }

        label{
          width:6rem;
          margin: 0 auto;
          display: block;
          text-align: center;
          &.tips{
            font-size: 0.36rem;
          }
        }
      }

      .dog{
        text-align: center;
        padding: 0.2rem 0;
        img{
          width: 50%;

        }
      }

      .next{
        img{
          display: block;
          width: 50%;
          margin: 0 auto;
        }
      }

      .loading{
        width: 4rem;
        margin: 0 auto;
        text-align: center;
        color: #ffffff;
        font-size: 0.6rem;
      }

      .people{
        text-align: center;
        margin-bottom: 0.3rem;
        font-size: 0.66rem;
      }

      .car{
        p{
          margin: 0;
          text-align: center;
          font-size: 0.52rem;

          &.type{
            color: #fdffcb;
          }
        }
      }

      .model{
        text-align: center;
        padding-top: 0.3rem;
      }
    }

    .swiper-slide-active{
      .title{
        animation: title 0.6s ease 0.2s;
      }
      .stara{
        animation:checkBox 0.6s ease;
      }
      .sexBox,.checkBox{
        animation: checkBox 0.6s ease 0.2s;
      }
    }
  }
}
